package com.xwn.common.database.config;

import com.xwn.common.database.properties.DatabaseProperties;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 加载数据库配置注解
 * @Author: xwn
 * @Date: 2020/4/17 0:01
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import({DatabaseProperties.class,EnableDatabaseConfiguration.class})
public @interface EnableDatabase {

}
